package com.liu.nb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 消缺任务和塔杆中间表
 * </p>
 *
 * @author liuziyi
 * @since 2021-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DebugtaskPole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 消缺任务id
     */
    private String debugId;

    /**
     * 塔杆id
     */
    private String pid;

    /**
     * 巡检任务id
     */
    private String ptid;

    /**
     * 线路编号查询
     */
    @TableField(exist = false)
    private Patroltask patroltask;

    /**
     * 消缺任务
     */
    @TableField(exist = false)
    private Debugtask debugtask;


}
